package info;

import java.io.Serializable;
import java.sql.Time;
import java.util.Date;

public class Flight implements Serializable {
    private String Flight;
    private String DEPA;
    private Time DEPATime;
    private String DEST;
    private Time DESTTIME;
    private Time Boarding;
    private int Gate;

    public Flight(){

    }
    public Flight(String flight, String DEPA, Time DEPATime, String DEST, Time DESTTIME, Time boarding, int gate) {
        Flight = flight;
        this.DEPA = DEPA;
        this.DEPATime = DEPATime;
        this.DEST = DEST;
        this.DESTTIME = DESTTIME;
        Boarding = boarding;
        Gate = gate;
    }

    public String getFlight() {
        return Flight;
    }

    public void setFlight(String flight) {
        Flight = flight;
    }

    public String getDEPA() {
        return DEPA;
    }

    public void setDEPA(String DEPA) {
        this.DEPA = DEPA;
    }

    public Time getDEPATime() {
        return DEPATime;
    }

    public void setDEPATime(Time DEPATime) {
        this.DEPATime = DEPATime;
    }

    public String getDEST() {
        return DEST;
    }

    public void setDEST(String DEST) {
        this.DEST = DEST;
    }

    public Time getDESTTIME() {
        return DESTTIME;
    }

    public void setDESTTIME(Time DESTTIME) {
        this.DESTTIME = DESTTIME;
    }

    public Time getBoarding() {
        return Boarding;
    }

    public void setBoarding(Time boarding) {
        Boarding = boarding;
    }

    public int getGate() {
        return Gate;
    }

    public void setGate(int gate) {
        Gate = gate;
    }

    @Override
    public String toString() {
        return "Flight{" +
                "Flight='" + Flight + '\'' +
                ", DEPA='" + DEPA + '\'' +
                ", DEPATime=" + DEPATime +
                ", DEST='" + DEST + '\'' +
                ", DESTTIME=" + DESTTIME +
                ", Boarding=" + Boarding +
                ", Gate=" + Gate +
                '}';
    }
}
